package com.mobilekites.api;

import com.android.volley.VolleyError;

@SuppressWarnings("serial")
public class ReceiveServerError extends VolleyError {
	private int code;

	public ReceiveServerError(Throwable throwable, int code) {
		super(throwable);
		this.code = code;
	}

	@Override
	public String getMessage() {
		return getMessageCode(code);
	}

	public String getMessageCode(int code) {
		String string = "Error";
		switch (code) {
		default:
			break;
		}
		return string;
	}
}
